package com.ruoyi.bbsAdmin.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 报名活动对象 sign_up_activity
 * 
 * @author ruoyi
 * @date 2023-07-30
 */
public class ActivityVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动id */


    /** 报名项目id */
    @Excel(name = "报名项目id")
    private String activityId;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 内容简介 */
    @Excel(name = "内容简介")
    private String content;

    /** 活动类型 */
    @Excel(name = "活动类型")
    private Integer kind;

    /** 活动状态 */
    @Excel(name = "活动状态")
    private Integer state;

    /** 活动展示学校 */
    @Excel(name = "活动展示学校")
    private Integer schoolId;

    /** 拥有者id */
    @Excel(name = "拥有者id")
    private String ownerId;

    /** 是否仅校友参与 */
    @Excel(name = "是否仅校友参与")
    private Integer alumniOnly;

    /** 报名定金 */
    @Excel(name = "报名定金")
    private BigDecimal deposit;

    /** 报名名额 */
    @Excel(name = "报名名额")
    private Integer quota;

    /** 外部链接 */
    @Excel(name = "外部链接")
    private String link;

    /** 报名截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deadline;


    /** 报名信息详情 */
    @Excel(name = "报名信息详情")
    private String infoJson;


    /** 所在批次 */
    @Excel(name = "所在批次")
    private String batchNumber;

    

    public void setActivityId(String activityId)
    {
        this.activityId = activityId;
    }
    public String getActivityId()
    {
        return activityId;
    }

    public void setImage(String image) 
    {
        this.image = image;
    }
    public String getImage() 
    {
        return image;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }
    public String getContent() 
    {
        return content;
    }

    public void setKind(Integer kind) 
    {
        this.kind = kind;
    }
    public Integer getKind() 
    {
        return kind;
    }

    public void setState(Integer state) 
    {
        this.state = state;
    }
    public Integer getState() 
    {
        return state;
    }

    public void setSchoolId(Integer schoolId) 
    {
        this.schoolId = schoolId;
    }
    public Integer getSchoolId() 
    {
        return schoolId;
    }

    public void setOwnerId(String ownerId) 
    {
        this.ownerId = ownerId;
    }
    public String getOwnerId() 
    {
        return ownerId;
    }

    public void setAlumniOnly(Integer alumniOnly) 
    {
        this.alumniOnly = alumniOnly;
    }
    public Integer getAlumniOnly() 
    {
        return alumniOnly;
    }

    public void setDeposit(BigDecimal deposit) 
    {
        this.deposit = deposit;
    }
    public BigDecimal getDeposit() 
    {
        return deposit;
    }

    public void setQuota(Integer quota) 
    {
        this.quota = quota;
    }
    public Integer getQuota() 
    {
        return quota;
    }

    public void setLink(String link) 
    {
        this.link = link;
    }
    public String getLink() 
    {
        return link;
    }

    public void setDeadline(Date deadline) 
    {
        this.deadline = deadline;
    }
    public Date getDeadline() 
    {
        return deadline;
    }

    public void setInfoJson(String infoJson)
    {
        this.infoJson = infoJson;
    }
    public String getInfoJson()
    {
        return infoJson;
    }

    public void setBatchNumber(String batchNumber)
    {
        this.batchNumber = batchNumber;
    }
    public String getBatchNumber()
    {
        return batchNumber;
    }




    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("activityId", getActivityId())
            .append("image", getImage())
            .append("content", getContent())
            .append("kind", getKind())
            .append("state", getState())
            .append("schoolId", getSchoolId())
            .append("ownerId", getOwnerId())
            .append("alumniOnly", getAlumniOnly())
            .append("deposit", getDeposit())
            .append("quota", getQuota())
            .append("link", getLink())
            .append("deadline", getDeadline())
            .append("infoJson", getInfoJson())
            .append("batchNumber", getBatchNumber())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
